private var box:GameObject;

function Start(){
	box = GameObject.Find("Cube");
}

function Update () {
}

function OnGUI(){
	if( GUI.Button( Rect( 0, 0, 50, 30 ), "<" ) )
	{
		Debug.Log( "<" );
		box.transform.Translate( Vector3.left );
	}
		
	if( GUI.Button( Rect( 50, 0, 50, 30 ), ">" ) )
	{
		Debug.Log( ">" );
		box.transform.Translate( Vector3.right );
	}
}